esprit-2013-1a2-high-octane  version one
finale
 All Classes Files Functions Variables
Macros | Functions
background.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <allegro.h>
#include "background.h"
#include "chien.h"
#include "collision.h"
#include "jennyfer.h"
Include dependency graph for background.c:

Macros

#define GFX_W   642
#define GFX_H   450

Functions

BITMAP * load_background_bmp (char chemin_background[])
 modulle background
void draw_background (BITMAP *Background, BITMAP *Buffer)
void destroy_background (BITMAP *Background)

Detailed Description

Author
fatma & omar <3
Version
1.0
Date
20 mai 2013

Function Documentation

void destroy_background ( BITMAP *  Background)

il ecrase ce qu'il y'a dans le Buffer

Parameters
Backgroundest de type BITMAP
Returns
void

Here is the caller graph for this function:

void draw_background ( BITMAP *  Background,
BITMAP *  Buffer 
)

elle affiche ce qu'il y 'a sous le Buffer

Parameters
Backgroundet Buffer sont de type BITMAP
Returns
void

Here is the caller graph for this function:

BITMAP * load_background_bmp ( char  chemin_background[])

modulle background

chargement des background

Parameters
cheminde background
Returns
BITMAP

Here is the caller graph for this function: